The Web is a delivery mechanism, and your application architecture should treat it as such.
网络是一种交付机制,你的应用程序架构应该这么来对待它。
If you code your API against one server and treat it as if it is the reference implementation, you've made an assumption that other implementations are going to operate the same way.
如果您针对一个服务器编码您的API并将其视为参考实现,那么您就等于做出了这样一个假设:其他实现将以相同的方式运行。
If your function is very simple, you can treat it as a variable.
如果函数很简单,您可以把它当作一个变量。
应用推荐